package com.kapcb.statemachine.impl;

/**
 * <a>Title: Debugger </a>
 * <a>Author: Kapcb <a>
 * <a>Description: Debugger <a>
 *
 * @author Kapcb
 * @version 1.0
 * @date 2024/7/21 11:16
 * @since 1.0
 */
public class Debugger {

    private static boolean isDebugOn = false;

    public static void debug(String message) {
        if (isDebugOn) {
            System.out.println(message);
        }
    }

    public static void enableDebug() {
        isDebugOn = true;
    }

}
